package iterator;

import java.io.IOException;

import bufmgr.exceptions.PageNotReadException;
import heap.Tuple;
import heap.exceptions.InvalidTupleSizeException;
import heap.exceptions.InvalidTypeException;
import index.exceptions.IndexException;
import iterator.exceptions.DuplElimException;
import iterator.exceptions.JoinsException;
import iterator.exceptions.LowMemException;
import iterator.exceptions.PredEvalException;
import iterator.exceptions.SortException;
import iterator.exceptions.TupleUtilsException;
import iterator.exceptions.UnknowAttrType;
import iterator.exceptions.UnknownKeyTypeException;
import global.AttrType;
import global.Flags;

public class DuplElim extends Iterator implements Flags{
	AttrType[] in;
	short len_in;
	short[] s_sizes;
	Iterator am;
	int amt_of_mem;
	boolean inp_sorted;
	public DuplElim(AttrType[] in, short len_in, short[] s_sizes, Iterator am,
			int amt_of_mem, boolean inp_sorted) throws java.io.IOException,
			DuplElimException {
		

	}
	@Override
	public Tuple get_next() throws IOException, JoinsException, IndexException,
			InvalidTupleSizeException, InvalidTypeException,
			PageNotReadException, TupleUtilsException, PredEvalException,
			SortException, LowMemException, UnknowAttrType,
			UnknownKeyTypeException, Exception {
		// TODO Auto-generated method stub
		return am.get_next();
	}
	@Override
	public void close() throws IOException, JoinsException, SortException,
			IndexException {
		// TODO Auto-generated method stub
		
	}
}
